import request from '@/sheep/request';

export default {
  allSeries: (data) =>
    request({
      url: 'collection.goods/allSeries',
      method: 'GET',
      params: data,
      custom: {
        showLoading: false,
        auth: false,
      },
    }),
  identityGoods: (data) =>
    request({
      url: 'collection.goods/identityGoods',
      method: 'GET',
      params: data,
      custom: {
        showLoading: false,
        auth: false,
      },
    }),
  goodsdetail: (data) =>
    request({
      url: 'collection.goods/detail',
      method: 'GET',
      params: data,
      custom: {
        showLoading: false,
        auth: false,
      },
    }),
  identityBuy: (data) =>
    request({
      url: 'collection.order/identityBuy',
      method: 'POST',
      data: data,
      custom: {
        showLoading: false,
        auth: false,
      },
    }),
};
